package com.example.service;

import com.example.domain.ShoppingCart;

import java.util.List;

public interface IShoppingCartService {
    public ShoppingCart add(ShoppingCart shoppingCart,Long id);
    public ShoppingCart sub(ShoppingCart shoppingCart,Long userId);
    public List<ShoppingCart> list(Long userId);
    public void clean(Long userId);
}
